package cn.aitrox.ry.service.anno.api;

import cn.aitrox.ry.bean.RespResult;
import cn.aitrox.ry.service.anno.dto.anno.lesion.result.group.in.AlrgCreateInDto;
import cn.aitrox.ry.service.anno.dto.anno.lesion.result.group.in.AlrgUpdateInDto;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface LesionResultGroupApi {

    @PostMapping(value = "/anno/lesion/result/group")
    RespResult<Integer> create(@RequestBody AlrgCreateInDto input);

    @PutMapping(value = "/anno/lesion/result/group")
    RespResult update(@RequestBody AlrgUpdateInDto input);

    @DeleteMapping(value = "/anno/lesion/result/group/{id}")
    RespResult delete(@PathVariable("id") Integer id);

}
